package com.springbase.demo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: flyFan
 * @Date: 2021/9/13 20:33
 * @Version: 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix ="config.flyfvn")
public class ConfigBean {
	
	private String name;
	private Integer age;
	
}
